package com.companyName.sample.api.service;


import java.io.InputStream;

public interface IFdsService {


    public String getUploadUrl(String bucketName, String objectName, String contentType);

    public String getDownloadUrl(String bucketName, String objectName);

    public String getObjectFromUrl(String urlString, String bucketName);

    public boolean setObjectVisible(String bucketName, String objectName);

    public boolean refreshObjectToCdn(String bucketName, String objectName);

    public boolean setObjectHiden(String bucketName, String objectName);

    public boolean putObject(String bucketName, String objectName, InputStream is);

    public boolean putObject(String bucketName, String objectName, InputStream is, String contentType);

    public boolean deleteObject(String downloadUrl);

    public boolean putObjectInTrash(String bucket, String object);
}
